.class public Les/nm0;
.super Ljava/lang/Object;
.source "SqlDownloadCacheAidlWrapper.java"

# interfaces
.implements Landroid/content/ServiceConnection;
.implements Lcom/ss/android/socialbase/downloader/downloader/t;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/nm0$e;
    }
.end annotation


# static fields
.field private static g:Z

.field private static h:I

.field private static i:J


# instance fields
.field private a:Les/km0;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation
.end field

.field private b:Landroid/os/Handler;

.field private c:Les/jm0;

.field private d:Ljava/util/concurrent/CountDownLatch;

.field private e:Les/nm0$e;

.field private f:Ljava/lang/Runnable;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object v0, p0, Les/nm0;->b:Landroid/os/Handler;

    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Les/nm0;->c:Les/jm0;

    .line 4
    new-instance v0, Ljava/util/concurrent/CountDownLatch;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V

    iput-object v0, p0, Les/nm0;->d:Ljava/util/concurrent/CountDownLatch;

    .line 5
    new-instance v0, Les/nm0$a;

    invoke-direct {v0, p0}, Les/nm0$a;-><init>(Les/nm0;)V

    iput-object v0, p0, Les/nm0;->f:Ljava/lang/Runnable;

    .line 6
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, p0}, Lcom/ss/android/socialbase/downloader/downloader/SqlDownloadCacheService;->a(Landroid/content/Context;Landroid/content/ServiceConnection;)V

    return-void
.end method

.method static synthetic a(Les/nm0;)Les/nm0$e;
    .locals 0

    .line 1
    iget-object p0, p0, Les/nm0;->e:Les/nm0$e;

    return-object p0
.end method

.method static synthetic a(Z)Z
    .locals 0

    .line 2
    sput-boolean p0, Les/nm0;->g:Z

    return p0
.end method

.method static synthetic b(Les/nm0;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Les/nm0;->f()Z

    move-result p0

    return p0
.end method

.method static synthetic c(Les/nm0;)Ljava/lang/Runnable;
    .locals 0

    .line 1
    iget-object p0, p0, Les/nm0;->f:Ljava/lang/Runnable;

    return-object p0
.end method

.method static synthetic d(Les/nm0;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Les/nm0;->b:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic e()Z
    .locals 1

    .line 1
    sget-boolean v0, Les/nm0;->g:Z

    return v0
.end method

.method private f()Z
    .locals 10

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x0

    const/16 v2, 0x1a

    if-lt v0, v2, :cond_0

    return v1

    .line 2
    :cond_0
    sget-boolean v0, Les/nm0;->g:Z

    if-eqz v0, :cond_1

    return v1

    .line 3
    :cond_1
    sget v0, Les/nm0;->h:I

    const/4 v2, 0x5

    const-string v3, "SqlDownloadCacheAidlWra"

    if-le v0, v2, :cond_2

    const-string v0, "bindMainProcess: bind too many times!!! "

    .line 4
    invoke-static {v3, v0}, Les/wn0;->d(Ljava/lang/String;Ljava/lang/String;)V

    return v1

    .line 5
    :cond_2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    .line 6
    sget-wide v6, Les/nm0;->i:J

    sub-long v6, v4, v6

    const-wide/16 v8, 0x3a98

    cmp-long v0, v6, v8

    if-gez v0, :cond_3

    const-string v0, "bindMainProcess: time too short since last bind!!! "

    .line 7
    invoke-static {v3, v0}, Les/wn0;->d(Ljava/lang/String;Ljava/lang/String;)V

    return v1

    .line 8
    :cond_3
    sget v0, Les/nm0;->h:I

    const/4 v1, 0x1

    add-int/2addr v0, v1

    sput v0, Les/nm0;->h:I

    .line 9
    sput-wide v4, Les/nm0;->i:J

    .line 10
    iget-object v0, p0, Les/nm0;->b:Landroid/os/Handler;

    new-instance v2, Les/nm0$c;

    invoke-direct {v2, p0}, Les/nm0$c;-><init>(Les/nm0;)V

    const-wide/16 v3, 0x3e8

    invoke-virtual {v0, v2, v3, v4}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return v1
.end method


# virtual methods
.method public a(II)Les/zn0;
    .locals 1

    .line 31
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 32
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2}, Les/km0;->a(II)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 33
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(IJ)Les/zn0;
    .locals 1

    .line 40
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 41
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3}, Les/km0;->a(IJ)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 42
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(IJLjava/lang/String;Ljava/lang/String;)Les/zn0;
    .locals 7

    .line 37
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 38
    iget-object v1, p0, Les/nm0;->a:Les/km0;

    move v2, p1

    move-wide v3, p2

    move-object v5, p4

    move-object v6, p5

    invoke-interface/range {v1 .. v6}, Les/km0;->a(IJLjava/lang/String;Ljava/lang/String;)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 39
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 16
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 17
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 18
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a()V
    .locals 4

    .line 11
    :try_start_0
    iget-object v0, p0, Les/nm0;->d:Ljava/util/concurrent/CountDownLatch;

    const-wide/16 v1, 0x1388

    sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 12
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    .line 13
    :goto_0
    :try_start_1
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 14
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0}, Les/km0;->a()V
    :try_end_1
    .catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_1

    :catch_1
    move-exception v0

    .line 15
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_1
    return-void
.end method

.method public a(IIII)V
    .locals 1

    .line 28
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 29
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3, p4}, Les/km0;->a(IIII)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 30
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(IIIJ)V
    .locals 7

    .line 25
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 26
    iget-object v1, p0, Les/nm0;->a:Les/km0;

    move v2, p1

    move v3, p2

    move v4, p3

    move-wide v5, p4

    invoke-interface/range {v1 .. v6}, Les/km0;->a(IIIJ)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 27
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(IIJ)V
    .locals 1

    .line 22
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 23
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3, p4}, Les/km0;->a(IIJ)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 24
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(ILjava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Les/yn0;",
            ">;)V"
        }
    .end annotation

    .line 43
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 44
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2}, Les/km0;->a(ILjava/util/List;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 45
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(Landroid/util/SparseArray;Landroid/util/SparseArray;Les/lm0;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/util/SparseArray<",
            "Les/zn0;",
            ">;",
            "Landroid/util/SparseArray<",
            "Ljava/util/List<",
            "Les/yn0;",
            ">;>;",
            "Les/lm0;",
            ")V"
        }
    .end annotation

    .line 4
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->q()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    new-instance v1, Les/nm0$d;

    invoke-direct {v1, p0, p1, p2, p3}, Les/nm0$d;-><init>(Les/nm0;Landroid/util/SparseArray;Landroid/util/SparseArray;Les/lm0;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;

    return-void
.end method

.method public a(Les/jm0;)V
    .locals 1

    .line 5
    monitor-enter p0

    .line 6
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    .line 7
    :try_start_1
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->a(Les/jm0;)V
    :try_end_1
    .catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 8
    :try_start_2
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_0

    .line 9
    :cond_0
    iput-object p1, p0, Les/nm0;->c:Les/jm0;

    .line 10
    :goto_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    throw p1
.end method

.method public a(Les/nm0$e;)V
    .locals 0

    .line 3
    iput-object p1, p0, Les/nm0;->e:Les/nm0$e;

    return-void
.end method

.method public a(Les/yn0;)V
    .locals 1

    .line 19
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 20
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->a(Les/yn0;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 21
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(Les/zn0;)Z
    .locals 1

    .line 34
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 35
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->a(Les/zn0;)Z

    move-result p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    move-exception p1

    .line 36
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public b(I)Les/zn0;
    .locals 1

    .line 2
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->b(I)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 4
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public b(IJ)Les/zn0;
    .locals 1

    .line 14
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 15
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3}, Les/km0;->b(IJ)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 16
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public b(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 5
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 6
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 7
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public b()V
    .locals 1

    .line 11
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 12
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0}, Les/km0;->b()V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 13
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public b(ILjava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Les/yn0;",
            ">;)V"
        }
    .end annotation

    .line 20
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 21
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2}, Les/km0;->b(ILjava/util/List;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 22
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public b(Les/yn0;)V
    .locals 1

    .line 8
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->b(Les/yn0;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 10
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public b(Les/zn0;)V
    .locals 1

    .line 17
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 18
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->b(Les/zn0;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 19
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public c(IJ)Les/zn0;
    .locals 1

    .line 8
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3}, Les/km0;->c(IJ)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 10
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public c(I)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/List<",
            "Les/yn0;",
            ">;"
        }
    .end annotation

    .line 5
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 6
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->c(I)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 7
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public c(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 2
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 4
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public c()Z
    .locals 1

    .line 11
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 12
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0}, Les/km0;->c()Z

    move-result v0
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return v0

    :catch_0
    move-exception v0

    .line 13
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public d(IJ)Les/zn0;
    .locals 1

    .line 8
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1, p2, p3}, Les/km0;->d(IJ)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 10
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public d(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 2
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 4
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public d(I)V
    .locals 1

    .line 5
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 6
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->d(I)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 7
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public d()Z
    .locals 1

    .line 11
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 12
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0}, Les/km0;->d()Z

    move-result v0
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return v0

    :catch_0
    move-exception v0

    .line 13
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public e(I)Z
    .locals 1

    .line 2
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->e(I)Z

    move-result p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    move-exception p1

    .line 4
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public f(I)Z
    .locals 1

    .line 11
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 12
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->f(I)Z

    move-result p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    move-exception p1

    .line 13
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public g(I)Les/zn0;
    .locals 1

    .line 1
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->g(I)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public h(I)Les/zn0;
    .locals 1

    .line 1
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->h(I)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public i(I)Les/zn0;
    .locals 1

    .line 1
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->i(I)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public j(I)Les/zn0;
    .locals 1

    .line 1
    :try_start_0
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/nm0;->a:Les/km0;

    invoke-interface {v0, p1}, Les/km0;->j(I)Les/zn0;

    move-result-object p1
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
    .locals 1

    const/4 p1, 0x1

    .line 1
    sput-boolean p1, Les/nm0;->g:Z

    .line 2
    iget-object p1, p0, Les/nm0;->b:Landroid/os/Handler;

    iget-object v0, p0, Les/nm0;->f:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 3
    monitor-enter p0

    .line 4
    :try_start_0
    invoke-static {p2}, Les/km0$a;->a(Landroid/os/IBinder;)Les/km0;

    move-result-object p1

    iput-object p1, p0, Les/nm0;->a:Les/km0;

    .line 5
    iget-object v0, p0, Les/nm0;->c:Les/jm0;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    .line 6
    iget-object v0, p0, Les/nm0;->c:Les/jm0;

    invoke-interface {p1, v0}, Les/km0;->a(Les/jm0;)V

    .line 7
    :cond_0
    new-instance p1, Les/nm0$b;

    invoke-direct {p1, p0}, Les/nm0$b;-><init>(Les/nm0;)V

    const/4 v0, 0x0

    invoke-interface {p2, p1, v0}, Landroid/os/IBinder;->linkToDeath(Landroid/os/IBinder$DeathRecipient;I)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 8
    :try_start_1
    iget-object p1, p0, Les/nm0;->d:Ljava/util/concurrent/CountDownLatch;

    :goto_0
    invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_2

    goto :goto_1

    :catchall_0
    move-exception p1

    :try_start_2
    const-string p2, "SqlDownloadCacheAidlWra"

    const-string v0, "onServiceConnected fail"

    .line 9
    invoke-static {p2, v0, p1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 10
    iget-object p1, p0, Les/nm0;->e:Les/nm0$e;

    if-eqz p1, :cond_1

    .line 11
    iget-object p1, p0, Les/nm0;->e:Les/nm0$e;

    invoke-interface {p1}, Les/nm0$e;->a()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    .line 12
    :cond_1
    :try_start_3
    iget-object p1, p0, Les/nm0;->d:Ljava/util/concurrent/CountDownLatch;

    goto :goto_0

    .line 13
    :goto_1
    monitor-exit p0

    return-void

    :catchall_1
    move-exception p1

    .line 14
    iget-object p2, p0, Les/nm0;->d:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p2}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    throw p1

    :catchall_2
    move-exception p1

    .line 15
    monitor-exit p0
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_2

    goto :goto_3

    :goto_2
    throw p1

    :goto_3
    goto :goto_2
.end method

.method public onServiceDisconnected(Landroid/content/ComponentName;)V
    .locals 0

    const/4 p1, 0x0

    .line 1
    iput-object p1, p0, Les/nm0;->a:Les/km0;

    const/4 p1, 0x0

    .line 2
    sput-boolean p1, Les/nm0;->g:Z

    return-void
.end method
